﻿<%@ Page Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeBehind="admin-ContactUs.aspx.cs" 
Inherits="MediaMonitor.WebForm1" Title="Admin Panel - Contact Us" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
 <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script src="../rad-scripts/rad.js" type="text/javascript"></script>  
    </telerik:RadCodeBlock>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">

<asp:UpdatePanel ID="pnlUpdate" runat="server">
<ContentTemplate>
<center>
    <div id="dvUpload" class="Box" style="width: 560; padding-bottom: 15px; text-align:center;" align="center">
<table style="text-align:left" cellpadding="1" cellspacing="1" width="90%">
 
  <tr>
        <th valign="top" style="padding-top:24px;">Enter Text: </th>
        <td style="padding-top:15px;">
         <telerik:RadEditor ContentAreaMode="Div" runat="server" ID="RadEditorContactUS" SkinID="DefaultSetOfTools"
                            Height="415">
                            <ImageManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
                                UploadPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
                                DeletePaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations">
                            </ImageManager>
                            <CssClasses>
                                <telerik:EditorCssClass Name="Red Text" Value=".redText"></telerik:EditorCssClass>
                                <telerik:EditorCssClass Name="Table Class" Value=".table"></telerik:EditorCssClass>
                                <telerik:EditorCssClass Name="Div Class" Value=".div"></telerik:EditorCssClass>
                                <telerik:EditorCssClass Name="Image Class" Value=".image"></telerik:EditorCssClass>
                                <telerik:EditorCssClass Name="List Class" Value=".listSquare"></telerik:EditorCssClass>
                            </CssClasses>
                        </telerik:RadEditor>
      <%--  <asp:TextBox ID="txtContactUsText" Height="120px" Width="317px" runat="server" TextMode="MultiLine"> </asp:TextBox>--%>
         </td>
    </tr>

     <tr>
        <td></td>
        <td>
            <br />
           <asp:ImageButton ID="btnContactUs" runat="server"  SkinID="submit" 
                onclick="btnContactUs_Click"  /><br />
                  <asp:Label runat="server" Visible="false" id="lblResult"></asp:Label> 
        </td>
    </tr>
</table>
  </div>  </center>
   
 <asp:SqlDataSource  ConnectionString='<%$ ConnectionStrings:DBAdex %>' SelectCommand="SELECT ContactUsText FROM [tblContactUS]"
        ID="SqlDataSource1" runat="server"></asp:SqlDataSource>

  </ContentTemplate>
  
  </asp:UpdatePanel>
</asp:Content>
